import Vue from 'vue'
import Router from 'vue-router'
import Nav from '@/components/homenav'

import Guide from '@/pages/guide'
import Login from '@/pages/login'
import Register from '@/pages/register'
import Pay from '@/pages/pay'

import Home from '@/pages/home/home'
import Topic from '@/pages/home/topic'
import Today from '@/pages/home/today'

import Stiring from '@/pages/stiring/stiring'
import CirclePageHome from '@/pages/stiring/circlepagehome'

import Amuse from '@/pages/amuse/amuse'
import Movie from '@/pages/amuse/movie'
import Hotshow from '@/pages/amuse/hotshow'
import Books from '@/pages/amuse/books'
import Newbook from '@/pages/amuse/newbook'
import Magazine from '@/pages/amuse/magazine'
import Game from '@/pages/amuse/game'
import Hotgame from '@/pages/amuse/hotgame'
import Music from '@/pages/amuse/music'
import Newmusic from '@/pages/amuse/newmusic'

import Mine from '@/pages/mine/mine'
import Personal from '@/pages/mine/personal'
import MyNews from '@/pages/mine/mynews'
Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [{
      path: '/mynews',
      name: 'mynews',
      component: MyNews
    },
    {
      path: '/',
      name: 'home',
      component: Home
    }, {
      path: '/topic',
      name: 'topic',
      component: Topic
    }, {
      path: '/amuse',
      name: 'amuse',
      component: Amuse
    }, {
      path: '/stiring',
      name: 'stiring',
      component: Stiring
    }, {
      path: '/mine',
      name: 'mine',
      component: Mine
    }, {
      path: '/personal',
      name: 'personal',
      component: Personal
    }, {
      path: '/movie',
      name: 'movie',
      component: Movie
    }, {
      path: '/hotshow',
      name: 'hotshow',
      component: Hotshow
    },{
      path:'/newbook',
      name:'newbook',
      component:Newbook
    },{
      path:'/books',
      name:'books',
      component:Books
    },{
      path:'/hotgame',
      name:'hotgame',
      component:Hotgame
    },{
      path:'/game',
      name:'game',
      component:Game
    },{
      path:'/music',
      name:'music',
      component:Music
    },{
      path:'/newmusic',
      name:'newmusic',
      component:Newmusic
    },{
      path:'/magazine',
      name:'magazine',
      component:Magazine
    }

  ]
})
